Repository navigation
fix(stop-gate): no release by indented code or by the bot under an owner account (0.2.2) - #19
Merged
Merged
Conversation
Uncommitted edit found in the canonical clone (TASKSOLVER #529, 2026-11-01): "koennen" -> "können" in the German heading. Diff read; it is the only change and matches the documented task. The accompanying TASKWRITER/TASKSOLVER run notes that had been appended to CHANGELOG.md are run logs, not changelog entries; they are archived locally instead of committed. Ticket: T-20261122-473151443 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01THB2EyNYw5th8eXvfU8evh
…ner account (0.2.2) - An indented code block line (tab or four spaces) never counts as a release, like fences and quotes. - Under an owner account (multi_bot.owner_fallback or merge_account in policy.stop_release_accounts) issue.comment, pr.review and api.request comment/review writes refuse any body with a release line, so the bot cannot lift a stop as the owner. - Labels with auto-merge effect: no workflow in the maintained organisations merges on a label, so no label refusal is added. - MULTI-BOT prompt: a release is its own comment with only the formula line; no other stop signal may appear in it, or it counts as a new STOPP. - Version 0.2.2; CHANGELOG entry for #18 and this fix; stray trailing Unreleased section folded into 0.2.2. Ticket: T-20261122-473151443 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01THB2EyNYw5th8eXvfU8evh
Contributor
Author
Independent review, head
|
| Mutation | Failed tests |
|---|---|
write_denial not wired into denial_reason |
4 |
| Indented lines release again | 2 |
| Owner never detected | 4 |
api.request unchecked |
2 |
pr.review unchecked |
1 |
Residual, not blocking: owner_fallback must be the JSON boolean true. A string "true" in a config layer is not treated as the owner mode. The wrapper writes the boolean, so the current path is covered. Rejecting non-boolean values in config validation would close it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #18 (STOPP gate), release 0.2.2.
multi_bot.owner_fallback: true, ormerge_accountlisted inpolicy.stop_release_accounts),issue.comment,pr.reviewandapi.requeston comment/review endpoints refuse any body that contains a release line. This means the bot cannot lift a stop as the owner. The private wrapper setsowner_fallbackin its fallback layer (separate PR in the private instance).__init__, README EN/DE, module manifest). The CHANGELOG entry covers fix(policy): hold approve and merge on unlifted STOPP signals #18 and this fix. A stray trailing## Unreleasedsection is folded into 0.2.2.The
v0.2.2tag is set by the merging instance after the merge.Ticket T-20261122-473151443.
Test plan
tests/test_stop_gate.py: 46 passed. New probes cover indented and tab-indented formulas, plus owner-account refusal across 4 write paths and 2 trigger configurations. Negative controls: quoted formula, labels, and no owner account.ruff checkandruff format --checkclean.🤖 Generated with Claude Code
https://claude.ai/code/session_01THB2EyNYw5th8eXvfU8evh